﻿using Shop.RemoteModel.Advert.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Shop.Service.Interface
{
    public interface IAdvertService
    {
        long Add (AdvertAdd data);
        void Delete (long id);
        void Enable (long id);
        AdvertDto Get (long id);
        PagingResult<AdvertBase> Query (AdvertQueryParam query, IBasicPage paging);
        bool Set (long id, AdvertSet data);
        void Stop (long id);
        void End (long id);
    }
}